package cn.liuding.pethome.org.service.impl;

import cn.liuding.pethome.org.domain.Employee;
import cn.liuding.pethome.org.mapper.EmployeeMapper;
import cn.liuding.pethome.org.service.IEmployeeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class EmployeeServiceImpl implements IEmployeeService {

    @Resource
    private EmployeeMapper employeeMapper;

    @Override
    public List<Employee> queryAll() {
        return employeeMapper.loadAll();
    }
}
